package com.fdb.efp.cus.service.facade;

import com.fdb.efp.cus.service.vo.PersonalWhiteDeleteExcelVO;
import com.fdb.efp.cus.service.vo.PersonalWhiteListVO;


import java.util.List;

/**
 * Service Interface:
 *
 * @author gcb
 * @date 2020-07-31
 */
public interface PersonalWhiteListService {
    /**
     * 新增数据
     *
     * @param personalWhiteListVO
     * @return
     */
    int insert(PersonalWhiteListVO personalWhiteListVO);

    /**
     * 根据主键删除信息
     *
     * @param personalWhiteListVO
     * @return
     */
    int deleteByPk(PersonalWhiteListVO personalWhiteListVO);

    /**
     * 根据主键更新信息
     *
     * @param personalWhiteListVO
     * @return
     */
    int updateByPk(PersonalWhiteListVO personalWhiteListVO);

    /**
     * 根据主键查询详情
     *
     * @param personalWhiteListVO
     * @return
     */
    PersonalWhiteListVO queryByPk(PersonalWhiteListVO personalWhiteListVO);

    /**
     * 根据条件查询个人白名单
     * @param personalWhiteListVO
     * @return
     */
    List<PersonalWhiteListVO> queryPWhiteListByCondition(PersonalWhiteListVO personalWhiteListVO);

    /**
     * 查询所有列表数据
     *
     * @param personalWhiteListVO
     * @return
     */
    public List<PersonalWhiteListVO> queryAllList(PersonalWhiteListVO personalWhiteListVO);

    public int batchDeleteByCode(PersonalWhiteListVO personalWhiteListVO);
    public int upDateToSetDt(PersonalWhiteListVO personalWhiteListVO);

    public List<PersonalWhiteListVO> queryConditions(PersonalWhiteListVO personalWhiteListVO);

    public int batchInsertList(List<PersonalWhiteListVO> inserListBatch);

    public int updatePersonal(PersonalWhiteListVO updatePersonal);

    //导入excel文件删除数据
    public int batchDelPersnalWhiteByExcel(List<PersonalWhiteDeleteExcelVO>  personalWhiteDelExcelVO);

    int effectiveDate();
}